Mobile phone with music reproduction function, music data reproduction method by mobile phone with music reproduction function, and the program thereof

ABSTRACT

A mobile phone with music reproduction function has a reproduction unit that reproduces music data and a ring tone which are recorded in a music data recording medium, and a communication unit  108  that detects an incoming call from outside. The mobile phone  100  has a control unit that instructs the reproduction unit to perform a fade-out process of reproducing the music data and to perform a fade-in process of outputting the ring tone when the communication unit detects an incoming call while the reproduction unit is reproducing music data.

TECHNICAL FIELD

The present invention relates to a mobile phone with a musicreproduction function, and especially relates to a mobile phone which ischaracterized by operations at the time of receiving a call when a callarrives during reproducing music data, during a conversation, and afterfinishing a conversation.

BACKGROUND ART

A memory has been remarkably miniaturized and had larger capacity inrecent years. In addition, as the audio compression technologies havebeen improved, new compression methods, such as MP3 (MPEG1 Audio Layer3), have been suggested, wherein the quality of original sound in LPCM(Linear Pulse Code Modulation) is not so deteriorated as to be unfit forcomfortable listening even if it is compressed to one tenth of theoriginal size. As these technologies have developed, it has beenpossible, for example, to record music data for one album on astamp-sized semiconductor memory.

On the other hand, from the viewpoint of music distribution, in additionto the conventional distribution via package media, such as cassettetapes and CDs, there are indications that the form of directlydownloading music data via Internet or the like (hereinafter referred toas “electronic music distribution”) has been widely used.

In the electronic music distribution, as mentioned above, the form ofdownloading music data via the Internet using a personal computer (PC)is popular. However, since a PC is a relatively large investment,distribution channels other than the PC-Internet have been considered,and among them, the form of downloading music data by using a mobilephone has attracted much attention. Although a mobile phone now hasproblems of slow communication speed and high communication costs, it isexpected that it can be one of the leading distribution channels ifthese problems are overcome by future improvement of communicationtechnology. This is because mobile phones are very widely used and theydo not cost as much as other equipment required for electronic musicdistribution, such as PCs and others.

FIG. 1 is a diagram showing one example of a system ofdownloading/reproducing music data by using electronic musicdistribution. This music data downloading/reproducing system iscomprised of a mobile phone 1101, a music reproduction player 1102 and arecording medium 1103. The mobile phone 1101, having a recording mediumslot for inserting the after-mentioned recording medium 1103 in the bodythereof, records the music data downloaded via Internet onto therecording medium 1103. The music reproduction player 1102, having arecording medium slot for inserting the recording medium 1103 therein,reads out and reproduces the music data recorded in the recording medium1103. The recording medium 1103 is a portable memory, such as asemiconductor memory, and stores the music data recorded by the mobilephone 1101.

As shown in FIG. 1, if it is considered that the music data isdownloaded by a mobile phone for listening to music, it may happen thatafter recording the downloaded music data onto the portable recordingmedium 1103, the recording medium 1103 is removed from the mobile phone1101 and then inserted again into the music reproduction player 1102 forreproduction thereof. However, since carrying both a mobile phone and amusic reproduction device on the way to the office and/or school meansoccupying a space, such as a bag, with them, a mobile phone with musicreproduction function, that is an integrated composite device havingfunctions of both a mobile phone and a music reproduction device(hereinafter referred to as a mobile phone with music reproductionfunction) is desired.

As this kind of mobile phone with music reproduction function is justbased on a phone, processing which is not required for an ordinary musicreproduction device is needed if a call arrives during reproducingmusic. For example, assuming that a call is received during listening tomusic by using a mobile phone with music reproduction function, it willbe found that a mobile phone with music reproduction function has thefollowing problems or challenges:

(1) Processing on Receiving a Call

An ordinary mobile phone informs a user of an incoming call by sound (aring tone) outputted mainly from a speaker of the main body. However, amobile phone with music reproduction function must notify a user of aring tone without fault even while the user is listening to musicthrough headphones. Particularly, if a melody tone is set to announceincoming calls, the music which the user is listening to must be clearlydistinguished from the melody tone for incoming calls. In order to solvethese problems, Japanese Laid-Open Patent Application H09-321844discloses a portable communication device for outputting a ring tone byswitching from music reproduction sound outputted from headphones, oroutputting both a music reproduction sound and a ring tone byoverlapping them, so as to notify a user of a ring tone when he/shereceives a call during reproducing music.

This device is, however, uncomfortable and troublesome for a user,because reproducing music is suddenly switched into a ring tone on anunexpected timing, or abruptly overlapped with a ring tone.

Also, it is desirable if the following processing is realized inaddition to the above-mentioned processing on receiving a call.

(2) Processing During a Conversation

Although it is generally desirable to stop reproducing music data duringa conversation, it is considered that music reproduction need not alwaysbe stopped if a communicating partner over a phone is a close personlike a family member.

(3) Reproduction Resume

When a music reproduction player temporarily stops music reproduction,it generally executes an operation of resuming music reproduction at theposition of stopping reproduction. Compared with this kind of player formusic reproduction only, a user's request for a mobile phone with musicreproduction function may be quite different in that music reproductionis interrupted by receiving a call regardless of the user's will, thatis, it is forced to be interrupted.

SUMMARY OF THE INVENTION

It is accordingly an object of the present invention, in light of theabove-mentioned conventional problems, to provide a more user-friendlymobile phone with music reproduction function without making a user feeluncomfortable by offering not only processing to solve problems whichmay arise when a call arrives during reproduction of music, but alsovarious methods of music reproduction during a conversation andreproduction resumption after finishing a conversation.

More specifically, the present invention has the following threeobjects. The first object of the present invention is to provide amobile phone with music reproduction function that can surely inform auser of receiving a call without interrupting music reproductionsuddenly when a call arrives during reproduction of music.

Also, the second object of the present invention is to provide a mobilephone with music reproduction function for a comfortable use that canconvert the reproducing music into background music (BGM) during aconversation, or reproduce music which is preset for each communicatingpartner as BGM during a conversation.

Further, the third object of the present invention is to provide amobile phone with sophisticated music reproduction function that has asmany resume functions as a dedicated music reproduction player or more,in which, in the case of stopping reproduction of music on receiving acall, music reproduction is resumed at a position run back for apredetermined time period from that of receiving the call, or from thebeginning of the music.

The above-mentioned first object may be achieved by a mobile phone withmusic reproduction function comprising: a reproduction unit thatreproduces music data which is recorded in a recording medium, anincoming call detection unit operable to detect an incoming call fromoutside, a ring tone output unit operable to output a ring tone, and acontrol unit operable to instruct the reproduction unit to perform afade-out process of reproducing music data and instructs the ring toneoutput unit to perform a fade-in process of outputting a ring tone whenthe incoming call detection unit detects an incoming call while thereproduction unit is reproducing music data.

As described above, in the mobile phone according to the presentinvention, the control unit instructs the reproduction unit to perform afade-out process of reproducing music data and instructs the ring toneoutput unit to perform a fade-in process of outputting a ring tone whenthe incoming call detection unit detects an incoming call while thereproduction unit is reproducing music data.

In this way, according to the mobile phone of the present invention,since music is faded out and a ring tone is faded in after a callarrives during reproduction of music, a user who is listening to musiccan easily catch a ring tone and perceives an incoming call withoutbeing confused by a sudden change of sound volume and music even when acall unexpectedly arrives during listening to music. As a result, thereis an effect that a user can enjoy listening to music comfortably.

Here, the mobile phone may further comprise a unit operable to storeinformation indicating per communicating partner whether or not to stopreproduction of music data when a call arrives during reproduction ofmusic data. As a result, there is an effect that reproduction mode ofmusic data may be changed depending upon a communicating partner. If auser has a business conversation or is making complicated arrangements,for example, reproduction of music data can be stopped after the musicdata is faded out so that the user can concentrate on his/herconversation.

Also, the mobile phone may further comprise a unit operable to countelapsed time after a call arrives, in which a ring tone is faded out andthe music data which was being reproduced before a call arrives is fadedin to be reproduced if a conversation does not start within a specifiedtime elapsed after a call is detected. As a result, if a user has nowill to respond to a call or will call back later by checking anincoming call record or the like of the mobile phone, he/she can leavethe call as it is, and thus producing an effect that a user feels itconvenient because he/she need not bother to operate the input unit inorder to return to the condition before a call arrives. In addition,there is an effect that unnecessary battery consumption can be cut down.

Further, the mobile phone may start a fade-in process of a ring toneafter a fade-out process of music data is completed. As a result, thereis an effect that a user can clearly confirm an incoming call even ifhe/she uses a melody tone as a ring tone since the reproduction sound ofmusic data is not overlapped with the ring tone.

The above-mentioned second object may be achieved by a mobile phone withmusic reproduction function comprising: a reproduction unit operable toreproduce music data which is recorded in a recording medium, and a BGMunit operable to instruct the reproduction means to reproduce music dataas background music in parallel with output of communicating voice.

As a result, a user can enjoy the music data stored in the recordingmedium as background music even during a conversation and further enjoya lively and happy conversation with a partner.

Here, in the mobile phone, the BGM unit may instruct the reproductionunit to tune down the reproduction sound of music data to a specifiedsound volume. As a result, the sound volume of reproduction sound ofmusic data is tuned down, and thus producing an effect that a user caneasily hear communicating voice, such as talking voice and others.

Further, in the mobile phone, the BGM unit may instruct the reproductionunit to continue reproduction of music data when a conversation startsin response to a call when the call arrives while the reproduction unitis reproducing music data. As a result, there is an effect that a usercan enjoy listening to music more comfortably because the music is notinterrupted at an unexpected timing of receiving a call.

Further, in the mobile phone, the BGM unit may instruct the reproductionunit to continue reproduction of music data when a conversation startsin response to a call when the call is made to a communicating partnerwhile the reproduction unit is reproducing music data. As a result,there is an effect that a user can enjoy music continuously during atalk even if the user himself/herself makes a call during reproductionof music data.

Also, the mobile phone may further comprise a BGM transmission unitoperable to transmit the reproduction sound of music data reproduced bythe reproduction unit in response to the instruction of the BGM unit toa communicating partner along with communicating voice. As a result, thecommunicating partner can also listen to the reproduction sound of musicdata as background music, and there is an effect that a user can enjoyan atmospheric conversation with the communicating partner.

Further, in the mobile phone, the BGM unit may instruct the reproductionunit to reproduce given music data as background music in parallel withoutput of communicating voice when a talk starts in response to a callafter the call arrives while the reproduction unit is not reproducingmusic data. As a result, there is an effect that a user can enjoy givenmusic data as background music during a conversation even if a callarrives while the music data is not being reproduced.

Further, in the mobile phone, communication processing informationindicating per communicating partner whether or not to reproduce musicdata during a conversation may be stored, and the BGM unit may specify acommunicating partner who is a caller when a call arrives and instructthe reproduction unit to reproduce given music data as background musicduring a conversation based on the communication processing informationcorresponding to the specified communicating partner. As a result, auser can choose reproduction or non-reproduction of background musicduring a conversation depending on a communicating partner. That is,there is an effect that a user can choose reproduction ornon-reproduction of background music depending on a communicatingpartner in such a manner, for example, that given music data isreproduced as background music during a conversation with a closefriend, a family member or the like and music data is not reproducedduring a conversation with a boss, a business partner or the like.

Further, in the mobile phone, a BGM data list indicating percommunicating partner the file name of music data which should bereproduced as background music during a conversation after a callarrives while music data is not being reproduced may be stored, and theBGM unit may instruct the reproduction unit to reproduce the music dataindicated in the BGM data list after a call arrives while music data isnot being reproduced. As a result, there is an effect that since a usercan select music data which should be reproduced as background musicdepending on a communicating partner, he/she can enjoy the music datafor a communicating partner as background music. More specifically,since a user can select and transmit a communicating partner's favoritemusic data or music data to which a user wants the communicating partnerto listen if background music is transmitted to the communicatingpartner along with communicating voice, there is an effect that a usercan further develop a pleasurable conversation.

The above-mentioned third object may also be achieved by a mobile phonewith music reproduction function comprising: a reproduction unitoperable to reproduce music data which is recorded in a recordingmedium, a stop unit operable to temporarily stop reproduction by thereproduction unit, and a control unit operable to instruct thereproduction unit to reproduce music data based on a specifiedreproduction resume method after reproduction is stopped by the stopunit and then a conversation finishes. That is, the stop unittemporarily stops reproduction by the reproduction unit, and the controlunit instructs the reproduction unit to reproduce music data based on aspecified reproduction resume method after reproduction is stopped bythe stop unit and then a conversation finishes.

As a result, since the music data is automatically reproduced based on aspecified reproduction resume method after reproduction is stopped andthen a conversation finishes, there is an effect that a user can startlistening to music again even after reproduction of music data isunexpectedly stopped and then a conversation finishes.

Further, the mobile phone may comprise a resume method storage unitoperable to store information indicating a plurality of reproductionresume methods, wherein the control unit may select one of thereproduction resume methods and instruct the reproduction unit toreproduce music data based on the selected reproduction resume method.As a result, there is an effect that resume can be performed based on avariety of reproduction resume methods, thereby satisfying users'diversified needs.

Further, in the mobile phone, resume position information indicating oneor more break points of music may be stored per music data, and thereproduction resume method may be a method to reproduce music data fromthe point indicated by the resume position information just before thepoint at which reproduction of the music data was stopped. As a result,since the music data is automatically reproduced from the break point ofthe music just before the point at which reproduction of the music datawas stopped after the reproduction is stopped and then a conversationfinishes, there is an effect that a user can resume listening to musicmore comfortably than when he/she resumes listening from points otherthan the break point.

Further, in the mobile phone, the reproduction resume method designatedby a user may be memorized, and the control unit may instruct thereproduction unit to reproduce music data based on the designatedreproduction resume method. As a result, there is an effect that resumecan be performed based on the reproduction resume method designated by auser, while a user can select and designate a reproduction resume methodpreferable to himself/herself.

Further, the mobile phone may comprise an incoming call detection unitoperable to detect an incoming call from outside, wherein the stop unitmay instruct the reproduction unit to stop reproduction of music datawhen an incoming call is detected by the incoming call detection unit.As a result, since reproduction of music data is stopped when a callarrives, a user does not fail to catch a ring tone even during listeningto music, and can talk in a clear communicating voice. In addition,there is an effect that after a talk finishes, a user can smoothlyresume listening to music based on a specified reproduction resumemethod without any troublesome operations. Also, the present inventioncan be embodied as a music data reproduction method comprising steps forimplementing the characteristic units included in the mobile phone, oras a program including the steps. Also, the program can, of course, bedistributed via a recording medium, such as CD-ROM, or a communicationnetwork, such as the Internet.

BRIEF DESCRIPTION OF THE DRAWINGS

These and other objects, advantages and features of the invention willbecome apparent from the following description thereof taken inconjunction with the accompanying drawings which illustrate a specificembodiment of the invention. In the Drawings:

FIG. 1 is a diagram that shows one example of a music datadownloading/reproducing system by using electronic music distribution.

FIG. 2 is a diagram that shows the appearance of a mobile phone 100 withmusic reproduction function of the present invention.

FIG. 3 is a functional block diagram that shows the structure of themobile phone 100 with music reproduction function as shown in FIG. 2.

FIG. 4 is a diagram that shows one example of the data structure ofdigital music data which is recorded in a music data recording medium105 as shown in FIG. 3.

FIG. 5 is a diagram that shows the data structure of information whichis stored in a incoming call processing information storage unit 107 asshown in FIG. 3.

FIG. 6 is a diagram that shows one example of information which isstored in a resume information storage area 303 as shown in FIG. 5.

FIG. 7 is a diagram that shows three examples of the resume methodsamong those which the mobile phone 100 with music reproduction functionperforms.

FIG. 8 is a diagram that shows by specific figures the relationshipsbetween incoming call reproduction position information 312 which can beapplicable for three types of resume patterns and the resume positioninformation indicating an address of the reproduction resume position.

FIG. 9 is a diagram that shows one example of the method of specifyingthe resume position in relation to a variation example of a resumepattern {circle around (2)} by using an access point 208 in the musicdata recording medium 105 as shown in FIG. 3.

FIG. 10 is a flowchart that shows the operations of the control unit 103when a call arrives during reproducing music data.

FIG. 11 is a flowchart that describes the operations of a control unit103 on resuming reproduction of music data after finishing aconversation if reproduction of music data is stopped when a callarrives.

FIG. 12 is a flowchart that shows the operations of the control unit 103in a case of receiving a call when music data is not being reproduced.

FIG. 13A is a timing chart that shows the sound volume transition of themusic data reproduction sound of the mobile phone 100 with musicreproduction function if a user responds to a call within a timespecified.

FIG. 13B is a timing chart that shows the sound volume transition of thering tone of the mobile phone 100 with music reproduction function if auser responds to a call within a time specified.

FIG. 14A is a timing chart that shows the sound volume transition of themusic data reproduction sound of the mobile phone 100 with musicreproduction function if a user does not respond to a call within a timespecified Δt.

FIG. 14B is a timing chart that shows the volume transition of the ringtone of the mobile phone 100 with music reproduction function if a userdoes not respond to a call within a time specified Δt.

DETAILED DESCRIPTION OF THE INVENTION

The following is a detailed explanation of the structure of the mobilephone with music reproduction function according to one embodiment ofthe present invention with reference to figures. In the presentembodiment, the explanation will be given on the assumption that thedata subject to reproduction is limited to music data. Note that,however, the present invention is not limited to this embodiment, andmay be embodied in combination of image data and music data, text dataand music data, image and text data and music data, and others.

FIG. 2 is a diagram that shows the appearance of a mobile phone 100 withmusic reproduction function of the present invention. The mobile phone100 with music reproduction function of the present invention istypically a composite machine of a mobile phone and audio reproductionplayer, and can be used as a personal headset stereo as well as a phone.The mobile phone 100 with music reproduction function is mainlycomprised of a main body 1, controller 2, headphones 3, and a music datarecording medium 105. The main body 1 is equipped with a liquid crystaldisplay panel 4, a ten key unit 5, a speaker 6, a microphone 7, arecording medium slot 8, a music reproduction control key unit 9, aphone control key unit 10, an antenna 11 and others. The controller 2 isequipped with a liquid crystal display panel 12 and a music reproductioncontrol key unit 13 and others. The headphones 3 are speakers whichoutput music data reproduction sound, a ring tone, partner's voice andothers through the ear pad unit thereof and which a user wears overhis/her ears.

The liquid crystal display panel 4 displays the contents regarding amobile phone, such as a phone number which a user inputs by operatingthe after-mentioned ten key unit 5, a caller's phone number on receivinga call, phone book data which a user registers, setting of eachfunction, a note, a text of e-mail, and a Web page, as well as thecontents regarding a music reproduction player, such as a title ofreproducing music data, music data reproducing order and a music datareproducing mode.

The ten key unit 5 is a unit for inputting keys indicating figures,characters, symbols and cursor movement by which a user inputs a phonenumber and a text of an e-mail or sets a reproduction mode of musicdata. The speaker 6 outputs reproduction sound of music data, a ringtone, a communicating partner's voice and others. The microphone 7inputs a user's voice.

The recording medium slot 8 is an inserting slot for connecting themusic data recording medium 105 to the main body 1. The musicreproduction control key unit 9 is a key input unit which is equippedwith a sound volume button and buttons for various functions of a musicreproduction player, such as music data reproduction start, rewind,fast-forward, reproduction stop, and mode settings. The phone controlkey unit 10 is a key input unit which is equipped with buttons forvarious functions of a mobile phone, such as calling, talking, holding,cutting the line, connecting with the Internet, and cutting off thepower. The antenna 11 transmits and receives a radio wave of mobilephone communication.

The liquid crystal display panel 12 mainly displays the abbreviatedcontents regarding music data reproduction. The music reproductioncontrol key unit 13 is equipped with a sound volume button and buttonsfor various functions of a music reproduction player, such as music datareproduction start, rewind, fast-forward, reproduction stop and modesettings.

FIG. 3 is a functional block diagram that shows the structure of themobile phone 100 with music reproduction function as shown in FIG. 2.The mobile phone 100 with music reproduction function of the presentinvention is, as shown in FIG. 3, equipped with an input unit 101, adisplay unit 102, a control unit 103, a music data readout unit 104, themusic data recording medium 105, a reproduction unit 106, an incomingcall processing information storage unit 107, a communication unit 108,a ring tone readout unit 109 and a ring tone storage unit 110. Thesecomponent elements will be explained below.

The input unit 101, which is equivalent to an operation unit such as theten key unit 5, the music reproduction control key unit 9, the phonecontrol key unit 10 and the music reproduction control key unit 13, anda voice sound input unit, such as the microphone 7, accepts the input ofa user's instructions by his/her operating the above-mentioned operationunit. User's instructions include, for example, an instruction to acceptthe input of the communicating partner's phone number to make a call, areproduction start instruction to start music reproduction, a stopinstruction to stop music reproduction, a fast-forward instruction tofast-forward music reproduction and a rewind instruction to rewind musicreproduction.

The display unit 102, which is the liquid crystal display panel 4 andthe liquid crystal display panel 12 as shown in FIG. 2, displays a phonenumber of which input was accepted by the input unit 101 and a title ofthe reproducing music.

The control unit 103, which is typically equipped with a CPU, a ROM/RAMand others, controls each unit of the mobile phone 100 with musicreproduction function by executing the programs stored in the ROM. Thismeans, for example, the control unit 103 interprets a user's instructionof inputting a phone number via the input unit 101, instructs thecommunication unit 108 to make a call, and instructs the display unit102 to display the phone number inputted by a user. Also, if a userinstructs to reproduce music via the input unit 101, control unit 103instructs to read out music data to the after-mentioned music datareadout unit 104.

Further, when a call arrives, the control unit 103 executes a specifiedincoming call processing depending on the incoming call processingmethods stored in the after-mentioned incoming call processinginformation storage unit 107. For example, if music is being reproducedwhen a call arrives, the control unit 103 instructs the after-mentionedring tone readout unit 109 to read out the ring tone stored in theafter-mentioned ring tone storage unit 110, instructs theafter-mentioned reproduction unit 106 to start fading out thereproducing music and fading in the ring tone, and instructs theafter-mentioned music data readout unit 104 to stop reading out themusic data after finishing fade-out.

In addition, if music data has been reproduced and reproduction thereofis stopped at the time of receiving a call, the control unit 103instructs the music data readout unit 104 to read out the music datafrom a specified reproduction starting position based on the resumemethod stored in the incoming call processing information storage unit107 when a conversation finishes.

The music data readout unit 104 records the music data, image data, textdata or the like downloaded by the after-mentioned communication unit108 in the after-mentioned music data recording medium 105, as well asreads out the music data and others recorded in the music data recordingmedium 105 based on the instruction by the control unit 103 to read outmusic data.

The music data recording medium 105 is typically a small-sized portableread/write recording medium comprised of a semiconductor memory andothers, and the music data downloaded from the Internet and others viathe after-mentioned communication unit 108 is, for example, recordedtherein.

The music data recording medium 105 has a sector structure. Each sectorstores digital data of 512 bytes according to the present embodiment.The music data recording medium 105 stores file system information formanaging multiple sectors as a file in the predetermined sectors. Thefile system applied for the music data recording medium 105 is based onthe file system prescribed under ISO9293. Note that the music datarecording medium 105 need not always be removable from the mobile phone100 with music reproduction function of the present invention, and maybe built in the mobile phone 100 with music reproduction function.

The reproduction unit 106, which is equipped with an MPEG decoder, a D/Aconverter, a sound volume controlling circuit and a speaker, reproducesmusic data, a ring tone and communicating voice/sound. It decodes, makesD/A conversion of, and reproduces the music data which the music datareadout unit 104 reads out from the music data recording medium 105. Thedecoded music can be listened to over headphones or the like. Also, thereproduction unit 106 has a sound volume controlling function, such asfade-in and fade-out.

The incoming call processing information storage unit 107 is typicallyan EEPROM (Electrically Erasable Programmable Read-Only Memory), and amemory that stores a communicating partner's phone number, ring tonereproduction methods when a call arrives, and information of resume ofmusic data reproduction after finishing a conversation. Morespecifically as to resume of music data reproduction, the incoming callprocessing information storage unit 107 is a memory in which the filename and position information of the music data which the reproductionunit 106 was reproducing, and the resume method (or the information foridentifying the resume method) indicating at which position of the musicdata reproduction is to be resumed are stored when the control unit 103instructs the reproduction unit 106 to stop music data reproduction. Thecontrol unit 103 refers to this information when it resumes music datareproduction, identifies appropriate music data and a specific readoutposition thereof, and instructs the music data readout unit 104 toreadout the music data.

Also, the incoming call processing information storage unit 107 storesthe phone book registered by the user of the mobile phone 100 with musicreproduction function. The incoming call processing information storageunit 107 also stores the contents set by the user of the processingmethod on receiving a call per communicating partner which the userdesignates corresponding to the phone book.

The communication unit 108 includes an antenna, a wirelesstransmission/reception unit and a communication interface whichcommunicate with base stations by wireless. Also, the communication unit108 informs the control unit 103 of start/finish ofcommunication-related processes, such as receiving a call, and start andfinish of a conversation.

The ring tone readout unit 109 reads out a ring tone from theafter-mentioned ring tone storage unit 110, in response to theinstruction from the control unit 103 of reading out a ring tone.

The ring tone storage unit 110 is a recording medium in which ring tonesare stored. The ring tones which can be recorded therein are not limitedto one, in other words, more than one ring tone may be recorded. In thiscase, the ring tone which is to be read out may be preset, or selectedat random.

FIG. 4 is a diagram that shows one example of the data structure ofdigital music data which is recorded in the music data recording medium105 as shown in FIG. 3. As shown in FIG. 4, the music data recordingmedium 105 is comprised of a song data storage area 201 in which themusic data is stored per song in a file format, and a reproduction pathmanagement area 202 in which reproduction path information that definesthe reproduction order of the music data is stored.

The song data storage area 201 is an area in which song data 203,recorded in an MPEG2-AAC (Advanced Audio Coding) format, for example, isstored per song in a file format. Note that 0≦N≦999 song data, that is,a maximum of 999 song data can be stored in the song data storage area201.

On the other hand, the reproduction path management area 202 is an areain which the reproduction path information, that is, the informationthat defines reproduction order of the song data 203 recorded in thesong data storage area 201 is stored. Reproduction path information iscomprised of a number of melodies 204 indicating the number of the songdata 203 recorded in the song data storage area 201, and reproductioncontrol information 205 of each song data 203 recorded in the song datastorage area 201.

The number of melodies 204 is the information indicating the number N ofthe song data 203 stored in the song data storage area 201, that is, thenumber of music data recorded in the music data recording medium 105,and 0≦N≦999. That is, a maximum of 999 melodies can be recordedaccording to the present embodiment, as described above in theexplanation of the song data 203.

The reproduction control information 205 is comprised of a file name 206indicating the file name of the song data 203, a number of access points207 indicating a number M of the access points which can be selected fora reproduction resume position of the song data 203 when musicreproduction is resumed as described later, and access points 208indicating the address position of each access point. Note that thenumber of access points 207 is 0≦M≦99, that is, 99 at maximum.

It is also noted that the music data recording medium 105 is equippedwith a so-called FAT (File Allocation Table) file system prescribedunder ISO9293 as described before, and can identify the file based onthe file name described in the file name 206 so as to specify therecording start address and recording end address of the song data 203based on the information of the FAT table.

Further, in reproducing music, the song data 203 is reproduced in theorder described in the reproduction control information 205. Forexample, if the song data #1 is described in the reproduction controlinformation #1, the song data #3 in the reproduction control information#2, and the song data #2 in the reproduction control information #3,respectively, the song data is reproduced in the order of data #1, #3and #2.

As mentioned above, according to the data structure of the music datarecording medium 105 as shown in FIG. 4, music data itself can be storedin the music data recording medium 105, and, at the same time, thereproduction order thereof can be defined by the reproduction pathinformation stored in the reproduction path management area 202.

FIG. 5 is a diagram that shows the data structure of the informationwhich is stored in the incoming call processing information storage unit107 as shown in FIG. 3. As shown in FIG. 5, the incoming call processinginformation storage unit 107 is comprised of a phone book storage area301, an incoming call processing method storage area 302, a resumeinformation storage area 303 and resume method storage area 304.

The phone book storage area 301 is an area in which a user of the mobilephone 100 with music reproduction function of the present inventionregisters the communicating partners' phone numbers and names byoperating the input unit 101. The phone book storage area 301 iscomprised of a number of registrants 305 indicating a number L of theregistered communicating partners, and a registrant 306 indicating theinformation of registered communicating partners.

The number of registrants 305 is the information indicating how manyregistrants' data are registered in the phone book storage area 301, and0≦L≦99, that is, a maximum of 99 registrants can be registered.

The registrant 306 is further comprised of a registrant name 307, aphone number 308, an incoming call processing method 309 and a BGM filename 310.

The registrant name 307 describes the names which the user of the mobilephone 100 with music reproduction function inputs when he/she registersthe communicating partners in the phone book storage area 301. The phonenumber 308 describes the phone numbers of the communicating partnerswhose names are written in the registrant name 307. The incoming callprocessing method 309 is the information indicating the processingmethod on receiving a call per registrant (communicating partner over aphone) whose name is written in the registrant name 307, and if musicreproduction is stopped on receiving a call and a ring tone isreproduced, for example, “1” is written. If music is reproduced as BGMduring a conversation without stopping reproduction thereof on receivinga call, “2” is written. The BGM file name 310 stores the file name ofthe music data that is to be reproduced as BGM during a conversation ifa call arrives from the registrant whose name is written in theregistrant name 307 while music data is not being reproduced. If a filename of the music data that is to be reproduced as BGM is not specified,“0” is written.

Note that, according to the present embodiment, when the incoming callprocessing method 309 is “2” and a call arrives during reproducing musicdata, the reproducing music data is continued to be reproduced as BGMwithout stopping it. Also, when the incoming call processing method 309is “2” and a call arrives while music data is not being reproduced, themusic data having the file name written in the BGM file name 310 isreproduced as BGM. The present invention is not, of course, limited tothis embodiment, but if a call arrives during reproducing music data andwhen the incoming call processing method 309 is “2”, for example,reproduction of music data can be stopped once so as to reproduce themusic data having the file name written in the BGM file name 310.

Next, the incoming call processing method storage area 302 is an area inwhich a processing method on receiving a call for a caller who is notregistered in the phone book storage area 301 is stored. The processingmethod on receiving a call is as follows. If reproduction of music datais stopped and a ring tone is reproduced when a call arrives duringreproducing music data, “1” is written. If reproduction of music data isnot stopped when a call arrives and music data is reproduced as BGMduring a conversation, “2” is written.

Note that an area for storing a file name of music data for BGM, such asthe BGM file name 310, is not set up in the incoming call processingmethod storage area 302. Therefore, when a call arrives while music datais not being reproduced even if “2” is stored in the incoming callprocessing method storage area 302, music data is not reproduced as BGMfor a caller who is not registered in the phone book storage area 301.The present invention is not limited to this embodiment, of course, butmusic data can also be reproduced as BGM during a talk for a caller whois not registered in the phone book storage area 301, by setting up inthe incoming call processing method storage area 302 an area for storingthe file name of music data which is to be reproduced as BGM during atalk for a caller who is not registered in the phone book storage area301 so as to describe the file name of music data which is to bereproduced as BGM during a conversation as it is written in the BGM filename 310.

The resume information storage area 303 is comprised of the resume filename 311 and the incoming call reproduction position information 312.

The resume file name 311 describes the file name of music data which isbeing reproduced when the control unit 103 instructs to stopreproduction thereof, if a user of the mobile phone 100 with musicreproduction function is reproducing music data when a call arrives. Onthe other hand, if music data is being reproduced when a call arrives,the incoming call reproduction position information 312 describesaddress information indicating the reproduction position of music dataat the point of time when the control unit 103 instructs thereproduction unit 106 to stop reproduction thereof.

FIG. 6 is a diagram that shows one example of the information which isstored in the resume information storage area 303 as shown in FIG. 5.The resume information storage area 303 stores a resume file name 401and incoming call reproduction position information 402. In the resumefile name 401, the file name “Song01.aac” of the music data is writtenwhich is being reproduced when a call arrives, that is, when the controlunit 103 instructs the reproduction unit 106 to stop reproducing themusic data. On the other hand, in the incoming call reproductionposition information 402, the reproduction position of the file, whichis being reproduced when a call arrives, that is, when the control unit103 instructs the reproduction unit 106 to stop reproducing the musicdata, is written as byte number from the beginning of the file, “1234”,for example. It is possible to specify the file of the music data whichis being reproduced when a call arrives and the reproduction positionthereof according to the information.

The resume method storage area 304 is an area in which the numbercorresponding to the resume patterns indicating a plurality of types ofresume methods is stored. Music data reproduction is resumed accordingto the resume methods if a user of the mobile phone 100 with musicreproduction function is reproducing music data when a call arrives andstops reproducing music data during a conversation. There are threetypes of resume patterns: resume pattern {circle around (1)} of resumingreproduction at the position of stopping thereof after finishing aconversation: resume pattern {circle around (2)} of resumingreproduction at the position rewound for a specified time of secondsfrom the position of stopping reproduction; and resume pattern {circlearound (3)} of resuming reproduction from the beginning of the music,and they are stored in the resume method storage area 304 as numbers“1”, “2” and “3”, respectively.

Note that, although, in the case of resume pattern {circle around (2)}of resuming reproduction at the position which is rewound for aspecified time of seconds, a fixed value of rewinding time, for example,5 seconds or 3 seconds is stored in a ROM, the mobile phone 100 withmusic reproduction function of the present invention is not limited tothis embodiment. An area for storing rewinding time of seconds from theposition of stopping reproduction can be set up further in the resumemethod storage area 304, for example, so as to store the time inputtedby a user therein. Further, in the case of resume pattern {circle around(2)}, if a call time during stopping reproducing music data is countedand is beyond a specified threshold, the resume pattern {circle around(3)} may be uniformly applied even if “2” is stored in the resume methodstorage area 304, so as to resume reproducing music data from thebeginning of a melody of the music data.

FIG. 7 is a diagram that shows three examples of the resume methodsamong those which the mobile phone 100 with music reproduction functionperforms. In FIG. 7, assume that the song data 203 is being reproducedfrom a song beginning 501, the communication unit 108 detects receipt ofa call at the position shown as a incoming call point 503, and thecontrol unit 103 instructs the reproduction unit 106 to stop reproducingmusic data. In FIG. 7, according to the resume method as shown in theresume pattern {circle around (1)}, reproduction is resumed at anaddress stored in the incoming call reproduction position information312 in the incoming call processing information storage unit 107. Next,according to the resume method as shown in the resume pattern {circlearound (2)}, reproduction is resumed at a resume position 502 which isrun back for a specified value from an address stored in the incomingcall reproduction position information 312. Here, running back for aspecified value means resuming reproduction at the point run back for 5seconds, for example, from the point of reproduction on receiving acall. Note that, in order to run back for a specified value, it isnecessary in reproduction to store addresses per second, for example, ina RAM from the beginning of the file and calculate an appropriateaddress at which reproduction is resumed based thereon.

Finally, according to the resume pattern {circle around (3)}, regardlessof an address value stored in the incoming call reproduction positioninformation 312 in the incoming call processing information storage unit107, reproduction is resumed from the song beginning 501. FIG. 8describes specific figures indicating the resume positions according tothese three types of resume methods.

FIG. 8 is a diagram that shows by specific figures the relations betweenthe incoming call reproduction position information 312 which can beapplicable for three types of resume patterns and the resume positioninformation indicating an address of the reproduction resume position.In FIG. 8, a resume pattern 601 shows three types of resume patterns asshown in FIG. 7. Incoming call reproduction position information 602shows address information from the beginning of the file of the songdata 203 which is being reproduced when a call arrives. Each informationstored in resume position information 603 indicates at which position ofthe song data 203 the reproduction is resumed among three types ofresume methods. Further, assume that the address which is stored in theincoming call reproduction position information 312 in the incoming callprocessing information storage unit 107 is “1234”. In this case,according to the resume pattern {circle around (1)}, the address asresume position information is also “1234”, since reproduction isresumed at the reproduction position at the point of receiving a call.Next, according to the resume pattern {circle around (2)}, the resumeposition is run back for a specified value from the reproductionposition at the point of receiving a call, 5 seconds for reproduction,for example. “765” indicates the address value which is run back for thespecified value from “1234”. Lastly, according to the resume pattern{circle around (3)}, the address as resume position information is “0”since reproduction is resumed from the song beginning 501.

As described above, according to the mobile phone 100 with musicreproduction function of the present invention, three types of resumepatterns {circle around (1)}˜{circle around (3)} of the resume pattern601 can be provided, thereby producing an effect that a user can chooseand perform a resume method preferable for himself/herself among theabove-mentioned methods {circle around (1)}˜{circle around (3)}.

FIG. 9 is a diagram that shows one example of the method of specifyingthe resume position in relation to a variation example of the resumepattern {circle around (2)} by using the access point 208 in the musicdata recording medium 105 as shown in FIG. 3. For example, points whichseem to be preferable for a user to resume reproduction such as thebeginning of the first chorus, the beginning of the second chorus oreach passage are stored beforehand in the access point 208. According tothe present embodiment, 4 access points, first access point 704, secondaccess point 705, third access point 706 and fourth access point 707 areregistered therein. In FIG. 9, the top arrow indicates that thereproduction unit 106 reproduces the song data 203 from the songbeginning 701, the communication unit 108 detects receipt of a call atthe position shown as a first incoming call point 702, and the controlunit 103 indicates the reproduction unit 106 to stop reproducing musicdata. The second arrow from the top indicates that the control unit 103instructs the reproduction unit 106 to run back to the first accesspoint 704 just before the first incoming call point 702 so as to resumereproduction thereat.

On the other hand, the third arrow from the top indicates that thereproduction unit 106 reproduces the song data 203 from the songbeginning 701, the communication unit 108 detects receipt of a call atthe position shown as a second incoming call point 703, and the controlunit 103 instructs the reproduction unit 106 to stop reproducing thesong data 203. Further, the fourth arrow from the top indicates that thecontrol unit 103 runs back to the third access point 706 just before thesecond incoming call point 703 so as to resume reproduction thereat.

Note that, if there is no access point just before the incoming callpoint, the control unit 103 resumes reproduction from the song beginning701. Further, a user can modify or add to the access point 208 which isregistered depending on the song data 203 by providing the mobile phone100 with music reproduction function with an editing function.

As described before, according to the above-mentioned variation example,the access point 208 is determined which is possible to be chosen forthe resume position depending on the contents of song data 203, andtherefore, a user can decide more meaningful resume position than thatdecided based on the address information meaningless for a user wholistens to music. Further, there is an effect that a variety of resumemethods can be realized flexibly at a user's request by setting such avariety of resume patterns.

Next, the operations of the mobile phone 100 with music reproductionfunction as structured above are explained below by using flowcharts ofFIG. 10˜FIG. 12 and timing charts of FIG. 13A˜FIG. 14B.

FIG. 10 is a flowchart that shows the operations of the control unit 103when a call arrives during reproducing music data. The control unit 103waits for a notice of receiving a call from the communication unit 108during reproducing music data in the reproduction unit 106 (S801). Ifthe control unit 103 receives a notice of receiving a call from thecommunication unit 108, it examines whether a caller's phone number isstored in the phone book storage area 301 of the incoming callprocessing information storage unit 107, and determines whether thecaller has been already registered in the phone book storage area 301(S802). If the caller already has been registered as a result of thedetermination, the control unit 103 reads out the incoming callprocessing method stored in the incoming call processing method 309(S803). On the other hand, if the caller has not registered in the phonebook storage area 301, as a result of determination of Step S802, thecontrol unit 103 reads out the incoming call processing method stored inthe incoming call processing method storage area 302 (S805).

Then, the control unit 103 determines, based on the read-out incomingcall processing method, whether to stop reproducing music data orcontinue reproducing music data as BGM (S804). If the control unit 103determines to stop reproducing music data, it has the reproduction unit106 start fade-out processing of music data reproduction, and at thesame time, has the ring tone readout unit 109 read out a predeterminedring tone from the ring tone storage unit 110, and has the reproductionunit 106 start fade-in processing of the read-out ring tone so as toreproduce the ring tone by mixing it with the reproduction sound ofmusic data (S807).

Further, the control unit 103 has the reproduction unit 106 stopreproducing music data (S808), records the file name 206 of reproducingmusic data in the resume file name 311 of the resume information storagearea 303 within the incoming call processing information storage unit107 and the address information of the point of stopping reproduction,that is, the resume position information in the incoming callreproduction position information 312 of the resume information storagearea 303 (S809), and then, shifts to Step S810.

If the control unit 103 determines to continue reproducing music data asBGM in Step S804, it has the reproduction unit 106 tune down graduallythe sound volume of the reproducing music data to that for BGMreproduction. At the same time, it has the ring tone readout unit 109read out the predetermined ring tone from the ring tone storage unit110, has the reproduction unit 106 start fade-in processing of theread-out ring tone, so as to reproduce the ring tone by mixing it withthe BGM reproduction sound (S806), starts counting the time elapsed fromthe point when the ring tone starts reproducing, and waits for thenotice of starting communication from the communication unit 108 (S810).

The control unit 103 counts the time elapsed from the point when thering tone starts reproducing, determines whether the communication unit108 gives notice of starting communication before the counted elapsedtime goes beyond a predetermined time, thereby determining whether ornot a user responded to a call within a predetermined time (S811). Ifthe user responded to a call within a predetermined time, the controlunit 103 finishes the process. On the other hand, if the user did notrespond to a call within a predetermined time, it has the reproductionunit 106 stop reproducing the ring tone assuming that the user has nowill to respond to a call (S812), resumes reproduction of music data ifthe reproduction thereof is stopped, and returns the sound volume ofmusic data to the ordinary volume (in a call waiting mode) if the musicdata is being reproduced as BGM, so as to complete the processing.

Note that in the present embodiment, the control unit 103 has thereproduction unit 106 perform the process of fading in a ring tone so asto reproduce it mixed with the reproduction sound of music data or BGM.It is not always necessary to mix the ring tone with the reproductionsound of music data, and the ring tone may be reproduced from the right(or left) side speaker of the headphones 3 and the reproduction sound ofmusic data may be reproduced from the left (or right) side speakerthereof, for example.

Since the mobile phone 100 with music reproduction function according tothe above-mentioned embodiment determines whether to stop reproductionof reproducing music data or to continue reproduction thereof as BGMdepending on the incoming call processing method stored in the incomingcall processing method 309 for the registered communicating partner, ithas an effect that a user can have choice to concentrate on his/her talkby stopping reproduction of music depending on a communicating partner,or to enjoy BGM with him/her. Also, since the mobile phone 100 withmusic reproduction function determines above-mentioned incoming callprocessing for a non-registered partner, depending on the incoming callprocessing methods stored in the incoming call processing method storagearea 302, it can be set even for a partner who does not communicate sooften whether to stop reproduction of reproducing music or to continuereproduction, though uniformly. Further, the mobile phone 100 with musicreproduction function automatically stops reproduction of ring tone if auser does not respond to a call within a specified period from a pointof receiving a call, it has an effect that consumption of a battery byreproduction of a ring tone is cut down. In this case, if oscillation bya vibrator as well as reproduction of ring tone is used in order toinform an incoming call, the vibrator may be stopped at the same time ofstopping the ring tone, thereby producing an effect particularly interms of cutting down consumption of a battery.

FIG. 11 is a flowchart that describes the operations of the control unit103 on resuming reproduction of music data after finishing aconversation if reproduction of music data is stopped when receiving acall.

The control unit 103 waits for a notice of finishing a conversation fromthe communication unit 108 (S901). If there is a notice of finishing aconversation, it determines the resume method for resuming reproductionof music data. Here, the resume method is based on the assignment ofresume patterns stored in the resume method storage area 304 within theincoming call processing information storage unit 107 (S902). If “1” isstored in the resume method storage area 304, for example, the resumepattern {circle around (1)} is specified.

Next, music data which should be reproduced in the resume methoddetermined in Step S902 is specified. The music data which should bereproduced is specified by the resume file name 311 of the resumeinformation storage area 303 within the incoming call processinginformation storage unit 107. Further, the control unit 103 specifiesthe resume position of specified music data. According to the resumepattern {circle around (1)}, for example, it specifies the address whichis stored in the incoming call reproduction position information 312 ofthe incoming call processing information storage unit 107. Next, thecontrol unit 103 instructs the music data readout unit 104 to read outmusic data from the specified resume position (S903).

Further, the control unit 103 instructs the reproduction unit 106 toreproduce the music data read out by the music data readout unit 104 soas to complete the processing (S904). In response to this instruction,the reproduction unit 106 reproduces music data from the resume positionspecified in Step S903.

As described above, according to the present embodiment, the mobilephone 100 with music reproduction function resumes reproduction ofinterrupted music data according to the resume pattern stored in theresume method storage area 304, thereby producing an effect that afterfinishing a conversation, the music data can be reproduced according tothe preferred resume pattern which a user selected beforehand even ifthe reproduction of music is interrupted at a timing unexpected for auser.

FIG. 12 is a flowchart that shows the operations of the control unit 103in the case of receiving a call when music data is not being reproduced.

The control unit 103 waits for a notice of receiving a call from thecommunication unit 108 (S1001). If there is a notice of receiving acall, the control unit 103 examines whether a caller's phone number isregistered in the phone number storage area 301 of the incoming callprocessing information storage unit 107 to determine whether the callerhas already been registered in the phone number storage area 301(S1002). If it is found, as the result of the determination, that thecaller is not registered in the phone book storage area 301, the controlunit 103 completes the processing.

If it is found, as the result of the determination, that the caller isregistered, the control unit 103 reads out the BGM file name 310 for thecorresponding registrant 306 within the incoming call processinginformation storage unit 107 (S1003).

Next, the control unit 103 determines whether the file name is specifiedor not based on the contents of the read-out BGM file name 310 (S1004).If the content of the read-out BGM file name 310 is “0”, for example, itindicates that the file name is not registered, and if the content ofthe read-out BGM file name 310 is not “0”, it is the file name of themusic data. The control unit 103 completes the processing, if the filename is not specified as the result of determination in Step S1004.

If the file name is specified as the result of determination in StepS1004, the control unit 103 waits for a notice of starting communicationfrom the communication unit 108 (S1005). When it receives the notice ofstarting communication from the communication unit 108, it instructs themusic data readout unit 104 to read out music data specified in the BGMfile name 310, and starts a process of reproducing music data as BGM byinstructing the reproduction unit 106 to reproduce the read-out musicdata as BGM (S1006), thereby completing the processing.

As described above, according to the present embodiment, the mobilephone 100 with music reproduction function can reproduce music data asBGM even if a call arrives while music data is not being reproduced.Further, the mobile phone 100 with music data reproduction function canreproduce the music data specified by a user in the BGM file name 310 asBGM, thereby producing an effect that both a user and his/hercommunicating partner can enjoy listening to the music data as BGM byselecting the music data corresponding to the partner for the BGM filename 310, such as his/her favorite song.

FIG. 13A is a timing chart that shows the sound volume transition of themusic data reproduction sound of the mobile phone 100 with musicreproduction function if a user responds to a call within a timespecified. FIG. 13B is a timing chart that shows the sound volumetransition of the ring tone of the mobile phone 100 with musicreproduction function if a user responds to a call within a timespecified. In FIG. 13A, the sound volume transition as shown in a full(solid) line LA1 indicates the case (1) where a user is reproducingmusic data when a call arrives and “1” is stored in the incoming callprocessing method 309 or the incoming call processing method storagearea 302 in FIG. 5. The sound volume transition as shown in a dottedline LA2 indicates the case (2) where a user is reproducing music datawhen a call arrives and “2” is stored in the incoming call processingmethod 309 or the incoming call processing method storage area 302 inFIG. 5. The sound volume transition as shown in a dashed line LA3indicates the case (3) where a user is not reproducing music data when acall arrives and “2” is stored in the incoming call processing method309 in FIG. 5 and the music data is specified in the BGM file name 310.Both FIG. 13A and FIG. 13B indicate the sound volume v on the verticalaxis and time t on the horizontal axis.

In the above-mentioned case (1), as shown in the full line LA1, when auser receives a call at a time t=t1 during reproducing music data involume v=v1 (in Step 801 of FIG. 10), the control unit 103 checks thecaller's phone number with the phone number 308 of each of theregistrant 306 in the phone number storage area 301 of the incoming callprocessing information storage unit 107 (Step S802). If they match eachother, it reads out the incoming call processing method 309 of theregistrant 306 (Step S803), and if they don't match, it reads out theincoming processing method in the incoming processing method storagearea 302 (Step S805). If the incoming call processing method “1” is readout (Step S804), the control unit 103 instructs the reproduction unit106 to fade out the reproduction of music data, instructs the ring tonereadout unit 109 to read out the ring tone from the ring tone storageunit 110, and at the same time, instructs the reproduction unit 106 tofade in the reproduction of the read-out ring tone (Step S807). Thereby,the reproduction sound volume of music data v is faded out from v1 to 0during the time of t1≦t≦t2 as shown in the full line LA1, and at thesame time, the sound volume of ring tone is faded in from 0 to v3 duringthe time of t1≦t≦t2 as shown in FIG. 13B. Next, after finishing thefade-out processing, the control unit 103 instructs the reproductionunit 106 to stop reproducing music data (Step S808), and records theresume file name 311 and the incoming call reproduction positioninformation 312 (Step S809). Thereby, reproduction of music data isstopped (v=0) after the time of t=t2 has passed as shown in the fullline LA1, and at the same time, only the ring tone is reproduced at aconstant level of sound volume v3 as shown in FIG. 13B. Here, when auser responds to a call by operating the input unit 101 or the like(t=t3) (Step S811), the communication unit 108 stops the processing ofreading out the ring tone by the ring tone readout unit 109 so as tostart communication. Thereby, the ring tone is stopped at the time oft=t3 as shown in FIG. 13B, and only the communicating voice/sound isoutputted until finishing a conversation.

Note that here that although the reproduction sound of music data isfaded out and the ring tone is faded in at the same timings t1 and t2 ofstarting and finishing thereof, the reproduction sound of music data canbe faded out and the ring tone can be faded in at different timings. Forexample, the timing of starting fade-out of the reproduction sound ofmusic data may be later than that of starting fade-in of the ring tone,and the timing of finishing fade-in of the ring tone may be earlier thanthat of finishing fade-out of the reproduction sound of music data, andvice versa. Also, the fade-out speed of reproduction sound of music datamay be faster than the fade-in speed of ring tone, and vice versa.Further, a user can adjust the fade-in/fade-out timings and speed. Inaddition, although the ring tone is stopped at the time of t=t3 bystarting communication, the ring tone can be faded out.

When a call is finished by a user's operation of the input unit 101(t=t4), the communication unit 108 transmits a notice of finishing aconversation to the control unit 103. When the control unit 103 receivesa notice of finishing a conversation (Step S901 in FIG. 11), it has thereproduction unit 106 reproduce the music data which was beingreproduced when a call arrived (Step S904) according to the resumepattern stored in the resume method storage area 304 of the incomingcall processing information storage unit 107 (Steps S902 and S903).Thereby, as shown in the full line LA1, reproduction of music data whichwas stopped during a conversation (sound volume v=0) is resumed at thevolume 1 which is the sound volume when music data is reproduced afterfinishing a talk (t=t4) and on receiving a call (t=t1). Note thatalthough, in this case, the processing for controlling the sound volumeis not executed when reproduction of music data is started by the resumeprocessing, the fade-in processing may be executed when reproduction ofmusic data is started by the resume processing.

In the above case (2), as shown in the dotted line LA2, if a callarrives at the time t=t1 while a user is reproducing music data at thesound volume v=v1 (Step S801 in FIG. 10), the control unit 103, as itdoes in the case (1), reads out the incoming call processing method 309of the registrant 306 (Step S803) if the caller's phone number matchesthe phone number 308 of the registrant 306 (Step S802). If they do notmatch each other, it reads out the incoming call processing method ofthe incoming call processing method storage area 302 (Step S805). If theincoming call processing method “2” is read out (Step S804), the controlunit 103 instructs the reproduction unit 106 to turn down the soundvolume of the reproducing music data gradually to that for reproducingBGM, instructs the ring tone readout unit 109 to read out the ring tonefrom the ring tone storage unit 110, and further instructs thereproduction unit 106 to fade in reproduction of the read-out ring tone(Step S806). Thereby, the reproduction sound of music data is, as shownin the dotted line LA2, gradually tuned down from the sound volume v1 toa specified volume v2 during the time of t1≦t≦t2 from the point ofreceiving a call, and after t2≦t, the music data is reproduced as BGM atthe constant sound volume v2. On the other hand, the ring tone is fadedin while it is being mixed with BGM reproduction sound, as shown inFIG.13B during the time of t1≦t≦t2, and after reaching a specified soundvolume v3 at the time of t=t2, it is reproduced at the sound volume v3.Here, if a user responds to a call (t=t3) (Step S811), the communicationunit 108 executes the processing to stop reading out a ring tone by thering tone readout unit 109 so as to start communication. The BGMreproduction sound of music data is mixed with the communicatingvoice/sound and reproduced, and outputted from the headphones 3 or thespeaker 6, and at the same time transmitted to the user's communicatingpartner. Thereby, as shown in FIG. 13B, the ring tone is stopped at thetime of t=t3. In this case, too, the ring tone may be faded out insteadof being stopped.

When a call is finished (t=t4), the communication unit 108 transmits anotice of finishing a conversation to the control unit 103. The controlunit 103 instructs the reproduction unit 106 to turn up the BGMreproduction sound volume of music data to the volume on receiving acall if the BGM reproduction is being done when a call is finished.Thereby, as shown in the dotted line LA2, the BGM reproduction soundvolume of music data v2 is returned to the reproduction sound volume ofmusic data on receiving a call v1. Note that, in this case, the BGMreproduction sound volume v2 may be, of course, turn up gradually to thesound volume on receiving a call v1.

Note that although BGM reproduction sound of music data is mixed withtalking sound and reproduced in this embodiment, BGM reproduction soundneed not always be mixed with communicating voice/sound, and thecommunicating voice/sound may be outputted from the right (or the left)speaker of the headphones 3 and the BGM reproduction sound of music datafrom the left (or the right) speaker thereof, for example.

Further, although, in this embodiment, the BGM reproduction sound ofmusic data is also transmitted to the user's communicating partner, themobile phone with music reproduction function of the present inventionis not limited thereto. The BGM reproduction sound of music data alongwith the communicating voice/sound may be outputted from the headphones3 or the speaker 6 only without being transmitted to the user'scommunicating partner. Thereby, there produces an effect that, when theuser of the mobile phone with music reproduction function of the presentinvention has a call, if the receiver is also the user of the mobilephone with music reproduction function, the receiver can also enjoy BGMreproduction of other music data than the music data that the caller islistening to during a conversation. Further, a user may set whether ornot the BGM reproduction sound is transmitted to his/her communicatingpartner for each of his/her mobile phone. In addition, a user can set itfor each partner.

In the above case (3), a user does not reproduce music data when he/shereceives a call. When the control unit 103 receives a notice ofreceiving a call from the communication unit 108 (t=t1) (Step S1001 inFIG. 12), it instructs the ring tone readout unit 109 to read out thering tone, and instructs the reproduction unit 106 to faded in thereproduction of the read-out ring tone. Thereby, the ring tone is fadein as shown in FIG. 13B during the time of t1≦t≦t2 from the point ofreceiving a call, being reproduced at the sound volume v3 when itreaches a specific volume v3 at the time of t=t2.

The control unit 103 checks the caller's phone number and the phonenumber 308 of each registrant 306 (Step S1002), and if they match eachother, it reads out the incoming call processing method 309 of theregistrant 306, and if the readout incoming call processing method 309is “2”, it reads out the BGM file name 310 (Step S1003). The controlunit 103 waits for a notice of starting communication from thecommunication unit 108 (Step S1005) since the read-out BGM file name 310is not “0” (Step S1004), and when it receives a notice of startingcommunication (t=t3), it instructs the music data readout unit 104 toread out the tune data 203 of the read-out BGM file name 310 from themusic data recording medium 105 and further instructs the reproductionunit 106 to reproduce the read-out tune data 203 as BGM (Step S1006).The ring tone is stopped by the process of the communication unit 108.

Thereby, the ring tone is stopped as shown in FIG. 13B when a callstarts (t=t3), and on the other hand, as shown in the dashed line LA3,the BGM reproduction of the tune data 203 specified in the BGM file name310 is started (v=v2) and mixed with the talking sound. The mixed BGMreproduction sound is outputted from the headphones 3 or the speaker 6and transmitted to the user's communicating partner. Note that, in thisembodiment, the BGM reproduction of the tune data 203 specified in theBGM file name 310 may also be faded in. Also, although the BGMreproduction of the tune data 203 is started in wait for startingcommunication in the above embodiment, the present invention is notlimited to this, and the BGM reproduction or fade-in thereof may bestarted at the time of receiving a call (t=t1) or an appropriate pointof time after receiving a call (t1≦t≦t3). Further, although the aboveembodiment describes the BGM reproduction during a conversation if themobile phone 100 with music reproduction function receives a call, thepresent invention is not limited to this embodiment, and the BGMreproduction during a conversation may be done even if the user of themobile phone 100 with music reproduction function is a caller. In thiscase, the BGM reproduction sound can be mixed with the communicatingvoice/sound so as to be transmitted to the communicating partner or neednot be transmitted.

After a call is finished (t=t4), the control unit 103 instructs themusic data readout unit 104 to stop reading out the tune data 203 fromthe music data recording medium 105, and further instructs thereproduction unit 106 to stop reproducing music data. Thereby, as shownin the dashed line LA3, the BGM reproduction of music data is stopped(v=0). Note that, even in this case, the BGM reproduction of the tunedata 203 may, of course, be faded out when it is stopped.

As described above, the mobile phone 100 with music reproductionfunction of the present invention fades out the reproducing music onreceiving a call and at the same time, fades in the ring tone, therebyproducing an effect that a user who is reproducing music can distinguishit from the ring tone more comfortably. In addition, the mobile phone100 with music reproduction function offers various processes onreceiving a call, during a conversation and after finishing aconversation, respectively, thereby producing an effect that it can meetusers' diversified needs which may arise because it has both functionsof a music reproduction player and a mobile phone.

FIG. 14A is a timing chart that shows the sound volume transition of themusic data reproduction sound of the mobile phone 100 with musicreproduction function if a user does not respond to a call within thetime specified Δt. FIG. 14B is a timing chart that shows the volumetransition of the ring tone of the mobile phone 100 with musicreproduction function if a user does not respond to a call within thetime specified Δt. In FIG. 14A, the sound volume transition as shown ina full (solid) line la1 is same as the sound volume transition (1) asshown in FIG. 13A. The sound volume transition as shown in a dotted linela2 is same as the sound volume transition (2) as shown in FIG. 13A. Thesound volume transition as shown in a dashed line la3 is same as thesound volume transition (3) as shown in FIG. 13A. Therefore, since thesound volume transitions on receiving a call (t1≦t≦t2) as shown in FIG.14A and FIG. 14B are same as those on receiving a call (t1≦t≦t2) asshown in FIG. 13A and FIG. 13B, explanation thereof will be omitted.Note that t5=t1+Δt here.

In the case (1), although only the ring tone is being reproduced at aconstant sound volume (v=v3) (t2≦t≦t5), a user does not respond to acall even after the specified time Δt has passed (t=t5) since the callarrived (Step S811 in FIG. 11). In this case, the control unit 103instructs the reproduction unit 106 to fade out the ring tone, reads outthe file name of the music data which was being reproduced on receivinga call (the resume file name 311), instructs the music data readout unit104 to read out the music data of the read-out file name from thebeginning thereof, and instructs the reproduction unit 106 to fade inand mix the read-out music data with the ring tone so as to startreproduction thereof. After the fade-out of the ring tone is completed(t=t6), the control unit 103 instructs the ring tone readout unit 109 tostop reading out the ring tone, and instructs the reproduction unit 106to stop reproduction of the ring tone (Step S812). On the other hand,when the reproduction sound of the music data which is being faded inreaches the sound volume on receiving a call (v=v1) (t=t6), the controlunit 103 instructs the reproduction unit 106 to reproduce the music dataat the sound volume v1.

Thereby, at the same time when the ring tone is faded out as shown inFIG. 14B (t5≦t≦t6, v3≧v≧0), the reproduction of the music data which wasstopped on receiving a call is faded in again as shown in the full linela1 in FIG. 14A (t5≦t≦t6, 0≦v≦v1), returning to the reproductioncondition on receiving a call. Note that although the reproduction ofthe music data which was stopped on receiving a call is resumed from thebeginning thereof according to the present embodiment, the presentinvention is not limited to this embodiment, and it may be resumed atthe resume position based on other resume patterns, or may be resumed atthe resume position based on the resume patterns stored in the resumemethod storage area 304.

In the case (2), if a user does not respond to a call even after thespecified time Δt has passed from the point of receiving a call (t=t5)while the ring tone at a certain volume (v=v3) is being reproduced andmixed with the BGM reproduction sound (v=v2) (t2≦t<t5), the control unit103 instructs the reproduction unit 106 to fade out the ring tone, andthen instructs it to turn up the BGM reproduction sound volume of themusic data v2 to the volume v1 on receiving a call. Next, after thefade-out of the ring tone is finished (t=t6), the control unit 103instructs the ring tone readout unit 109 to stop reading out the ringtone, and instructs the reproduction unit 106 to stop reproducing thering tone.

Thereby, as shown in FIG. 14B, at the same time when the ring tone isfaded out as mentioned above (t5t≦t≦t6, v3≧v≧0), the sound volume of themusic data which was being reproduced as BGM v2 is turned up graduallyto the sound volume v1 on receiving a call (t5≦t≦t6, v2≦v≦v1), as shownin the dotted line la2 in FIG. 14A, returning to the reproductioncondition at the point of receiving a call.

In the case (3), the control unit 103 executes the processingcorresponding to Step S1001 through Step S1005 in FIG. 12 after thecommunication unit 108 gives a notice of starting a conversation.However, since the reproduction condition returns to that at the pointof receiving a call before the communication unit 108 gives a notice ofreceiving a call, the BGM reproduction of music data is not doneaccordingly, and only the ring tone is reproduced as shown in FIG. 14B.

As described above, according to the present embodiment, the mobilephone 100 with music reproduction function once executes the incomingcall processing based on the incoming call processing method 309 or inthe incoming call processing method storage area 302 when it receives acall. Since the mobile phone 100 automatically returns the reproductionof music data to the condition before receiving a call if a user doesnot respond to a call within a specified time Δt, the user may just notrespond to a call if he/she has no will to respond to it or need notrespond it by return as long as he/she can check receipt of a call andthe caller's phone number, thereby producing an effect that a user neednot bother to operate the input unit 101 to return to the originalcondition and therefore, it is very convenient for him/her.

Note that above-mentioned embodiment is just an explanatory example of asystem which promises the best effect under the present situation. Thepresent invention may be embodied in other specific forms withoutdeparting from the spirit thereof. Specifically, the present inventionmay be embodied in the following forms.

Although the music data recording medium 105 is described as a portablesemiconductor memory according to the present embodiment, the presentinvention is not limited to this, and it can be replaced with asmall-sized hard disk other than a portable semiconductor memory, abuilt-in memory of the mobile phone 100 with music reproduction functionor the like.

Although three types of resume patterns are explained according to thepresent embodiment, the present invention is not, of course, limited tothis. Also, although the resume pattern selected by a user's input isstored in the resume method storage area 304 according to the presentembodiment, the present invention is not limited to this, and the mobilephone 100 with music reproduction function may select the resume patternat random.

Note that although it is assumed in the present embodiment that themusic data obtained via electronic music distribution is recorded in themusic data recording medium 105 so as to be reproduced, the presentinvention is not limited to this. For example, ambient sound which auser himself/herself recorded or obtained in another way, such asconversation in conference, babbling sound of a stream, or noise of busytrain station, is converted into a file format and recorded in the musicdata recording medium 105 along with the above-mentioned music data, andthe file thereof may be reproduced as BGM.

Although the sound volume is turned down to a specified volume when themusic data is reproduced as BGM in the above-mentioned embodiment, thepresent invention is not limited to this, and even in the BGMreproduction thereof, the music data can be just mixed with thecommunicating voice/sound and reproduced at the same volume as it wasbefore receiving a call. In this case, a user can control the BGMreproduction sound volume by operating the volume control buttons on themusic reproduction control key unit 9 or the music reproduction controlkey unit 13. Or, a user can set the BGM reproduction sound volumebeforehand.

Note that although the ring tone is always reproduced in theabove-mentioned embodiment on the assumption that a user responds to acall when a call arrives, the present invention is not limited to this,and the ring tone need not be reproduced depending on a caller. In thiscase, a user registers the phone number of the caller whom the user willnot respond to in the phone number 308 of the phone book storage area301, stores “0”, for example, in the incoming call processing method 309for the registrant. The control unit 103 examines the phone book storagearea 301 when a call arrives, and if the incoming call processing method309 is “0”, completes the incoming processing without executing anyprocessing. Thereby, since the sound volume of the music data is notturned down even if the music data is being reproduced on receiving acall without reproduction of the ring tone, a user, if he/she knows thecaller's phone number, can register it and store “0” in the incomingcall processing method 309, thereby producing an effect that a user canenjoy music without being bothered by a silent call, nuisance call or acall from an unwelcome person.

Industrial Applicability

Although a mobile phone is described in the form of the presentembodiment, the present invention is applicable to a mobile phone with amusic reproduction function, a pda (personal digital assistant) with amusic reproduction function or a phone function, and a portablecommunication device with a music reproduction function and a phonefunction.

1. A mobile phone with a music reproduction function, said mobile phonecomprising: a reproduction unit operable to reproduce music data whichis recorded in a recording medium; an incoming call detection unitoperable to detect an incoming call from outside; a stop unit operableto instruct said reproduction unit to stop reproduction of the musicdata when said incoming call detection unit detects an incoming callwhile said reproduction unit is reproducing the music data; a resumemethod storage unit operable to store information indicating at leasttwo reproduction resume methods; and a control unit operable to selectone of the at least two reproduction resume methods stored in saidresume method storage unit, specify a reproduction start position of themusic data based on the selected reproduction resume method, andinstruct said reproduction unit to reproduce the music data from thespecified reproduction start position, after reproduction is stopped bysaid reproduction unit in accordance with the instruction from said stopunit and a conversation finishes, wherein the at least two reproductionresume methods includes at least one of a method to reproduce the musicdata from a beginning of the music data which was being reproduced justbefore being stopped, a method to reproduce the music data from a pointat which the reproduction of the music data was stopped, and a method tojump back to the music data for a specified time, as a run back, fromthe point at which the reproduction of the music data was stopped and torestart the reproduction of the music data at the run back point.
 2. Themobile phone according to claim 1, wherein said resume method storageunit includes a resume position information storage unit operable tostore per the music data, resume position information indicating atleast one break point of music, and one of the at least two reproductionresume methods is a method to reproduce the music data from the at leastone break point indicated by the resume position information just beforea point at which the reproduction of the music data was stopped.
 3. Themobile phone according to claim 1, further comprising: a reproductionresume method memory unit operable to memorize a reproduction resumemethod designated by a user, wherein said control unit instructs thereproduction unit to reproduce the music data based on the designatedreproduction resume method.
 4. A music data reproduction method of amobile phone with a music reproduction function for storing informationindicating at least two reproduction resume methods in a memory inadvance, said music data reproduction method comprising: reproducingmusic data recorded in a recording medium; detecting an incoming callfrom outside; temporarily stopping reproduction of the reproduced musicdata when an incoming call is detected while the music data is beingreproduced; and selecting one of the at least two reproduction resumemethods stored in the memory, specifying a reproduction start positionof the music data based on the selected reproduction resume method, andresuming reproduction of music data from the specified reproductionstart position, after reproduction is stopped and a conversationfinishes, wherein the at least two reproduction resume methods includesat least one of a method to reproduce the music data from a beginning ofthe music data which was being reproduced just before being stopped, amethod to reproduce the music data from a point at which thereproduction of the music data was stopped, and a method to jump back tothe music data for a specified time, as a run back, from the point atwhich the reproduction of the music data was stopped and to restart thereproduction of the music data at the run back point.
 5. A programembodied on a computer readable medium for execution by a computer of amobile phone with a music reproduction function for storing informationindicating at least two reproduction resume methods in a memory inadvance, said program comprising: computer readable program codeoperable to reproduce music data recorded in a recording medium;computer readable program code operable to detect an incoming call fromoutside; computer readable program code operable to instruct saidcomputer readable program code operable to reproduce music data to stopreproduction of the music data when said computer readable program codeoperable to detect an incoming call detects an incoming call while saidcomputer readable program code operable to reproduce music data isreproducing the music data; and computer readable program code operableto select one of the at least two reproduction resume methods stored inthe memory, specify a reproduction start position of the music databased on the selected reproduction resume method, and resumereproduction of the music data from the specified reproduction startposition, after reproduction is stopped and a conversation finishes,wherein the at least two reproduction resume methods includes at leastone of a method to reproduce the music data from a beginning of themusic data which was being reproduced just before being stopped, amethod to reproduce the music data from a point at which thereproduction of the music data was stopped, and a method to jump back tothe music data for a specified time, as a run back, from the point atwhich the reproduction of the music data was stopped and to restart thereproduction of the music data at the run back point.